import Vue from 'vue'
import weex from 'weex-vue-render'
/* global Vue */
weex.init(Vue)
/* weex initialized here, please do not move this line */
import router from './router'
import App from '@/index.vue'
import * as filters from '@/filters'

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})

/* eslint-disable no-new */
new Vue(Vue.util.extend({el: '#root', router}, App))
router.push('/')
